package com.cssl.openFeign;

import com.cssl.domain.dto.DtsBrandDto;
import com.cssl.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


@FeignClient(value = "DtsShopProvider9090",path = "/brand",contextId = "29")
public interface DtsbrandCilent {
    @PostMapping("/list")
    Result dtsissuelist(@RequestBody DtsBrandDto dtsBrandDto);

    @DeleteMapping("/delete")
    Result dtsbranddelete(@RequestParam("ids") String ids);
    @PostMapping("/updatebrand")
    Result updatebrand(@RequestBody Map updatebrand);
    @PostMapping("/addbrand")
    Result addbrand(@RequestBody Map addbrand);
}
